package com.play.ballen.me.entity;

import android.os.Parcel;
import android.os.Parcelable;

import androidx.annotation.NonNull;

public class OneKeyUserInfo implements Parcelable {



        /**
         * HXToken : YWMtwaRJDHh3Ee6daW-CyDjcixH8R_bNZ0UdvuvRbANoMyDBfP-geHcR7q6Hpw60cjbKAwMAAAGLiVyFmwAAAABBOLEpnW4olqbXP2xptDROwNLikoGfmhhpSEcceu6oOw
         * JiyuToken : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjIwMTQxNzY2MjMsImlhdCI6MTY5ODgxNjYyMywiaXNzIjoiT3duZXIiLCJVaWQiOjQ2LCJQaG9uZSI6IjE4NjgzNTczODU3In0.7Me7AfhNG2k94zwx6wYY5zPwJeQtBubK0p07P4s6WZQ
         * phone : 18683573857
         */

        private String HXToken;
        private String JiyuToken;
        private String phone;

    protected OneKeyUserInfo(Parcel in) {
        HXToken = in.readString();
        JiyuToken = in.readString();
        phone = in.readString();
    }

    public static final Creator<OneKeyUserInfo> CREATOR = new Creator<OneKeyUserInfo>() {
        @Override
        public OneKeyUserInfo createFromParcel(Parcel in) {
            return new OneKeyUserInfo(in);
        }

        @Override
        public OneKeyUserInfo[] newArray(int size) {
            return new OneKeyUserInfo[size];
        }
    };

    public String getHXToken() {
            return HXToken;
        }

        public void setHXToken(String HXToken) {
            this.HXToken = HXToken;
        }

        public String getJiyuToken() {
            return JiyuToken;
        }

        public void setJiyuToken(String JiyuToken) {
            this.JiyuToken = JiyuToken;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(@NonNull Parcel dest, int flags) {
        dest.writeString(HXToken);
        dest.writeString(JiyuToken);
        dest.writeString(phone);
    }
}
